package org.example.rae.service.impl;

import com.example.rae.entity.Order;
import org.example.rae.dao.OrderDao;
import org.example.rae.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author YangZeRong
 * @Date 2022/4/24 21:35
 * @Version 1.0
 */
@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    private OrderDao orderDao;

    @Override
    public void save(Order order) {
        orderDao.save(order);
    }
}
